Book Contents

Connections for the Recipe 2 Enhanced ActiveX control

The following table shows the connections to control the operation of the Recipe 2 Enhanced ActiveX control at run time. There are no additional parameters to configure the operation of the control beyond these connections.

Connections

Descriptions

RecipeNumber

Optional

The control reads the value of the tag and appends to the RecipeName connection This allows the application to select among a set of recipes with the same base name, for example, MyRecipe0.csv, MyRecipe1.csv, MyRecipe2.csv

The connection is read-only and can be a memory or direct reference tag.

The connection data type is Analog.

FolderName

Required

The control reads the tag value to determine the folder path (for example, "C:\Recipes" or "\Storage Card\Recipes") containing the recipes.

The connection is read-only and can be a memory or direct reference tag.

The connection data type is String.

FileName

Required

The tag value specifies the recipe name (for example, "MyRecipe2.csv"). All Save, Load, and Delete operations use this property to determine which recipe to operate upon. When the RecipeNumber property changes value the FileName property will update according to the specified recipe number.

For example, if the current FileName equals "MyRecipe5.csv" and RecipeNumber value changes to "12", the FileName property will update to "MyRecipe12.csv"

The connection is read-write and can be a memory or direct reference tag.

The connection data type is String.

SaveEn

Optional

When this property transitions from zero to non-zero value, the configured tag values (for example, Float001-Float512 and String001-100 are written to the file specified in the FileName connection.

The connection is read-only and can be a memory or direct reference tag.

The connection data type is Boolean.

LoadEn

Optional

When this property transitions from zero to non-zero value, the file specified in the FileName connection is read and the values are written to the tags configured in the (for example, Float001-Float512 and String001-100 connections.

The connection is read-only and can be a memory or direct reference tag.

The connection data type is Boolean.

DelEn

Optional

When this property transitions from zero to non-zero value, the file specified in the FileName connection is deleted. If the optional design-time property Delete Confirmation is set, the operator is prompted before the deletion operation executes.

The connection is read-only and can be a memory or direct reference tag.

The connection data type is Boolean.

Float001 - Float512

Optional

These are the setpoints that comprise the recipe.

These connections are read-write and can be a memory or direct reference tag.

The connection data type is Analog.

It is recommended that these properties be configured as memory tags. The application can use a macro to copy the memory tags to direct reference tags.

String001 - String100

Optional

These are the setpoints that comprise the recipe.

The connections are read-write and can be memory or direct reference tags.

The connection data type is String.

It is recommended that these properties be configured as memory tags. The application can use a macro to copy the memory tags to direct reference tags.

RecipeName001 - RecipeName254

Optional

These properties are used to list the available recipes in strings tags. When the control is loaded, or a Save or Delete operation occur, the contents of the FolderName are searched for CSV files. Any CSV files that are found, up to 254 total, are alphabetically listed in these connections.

These connections are read-only and can be a memory or direct reference tag.

The connection data type is String.

Status

Optional

This connection is used to monitor the state of the control.

This connection is read-only and can be a memory or direct reference tag.

The connection data type is String.

See also

Recipe 2_Enhanced ActiveX control

Option on the General tab of the ME Recipe 2 Enhanced Properties

Status connection values